﻿#pragma once
#include <string>

namespace StarSeeker
{

class ssClassFeild
{
	friend class ssClassFactory;
public:
	ssClassFeild() : m_offset(0) {}
	ssClassFeild(const std::string & name, const std::string & type, size_t offset) : m_name(name), m_type(type), m_offset(offset) {}
	~ssClassFeild() {}
	inline const std::string & Name()
	{
		return m_name;
	}
	inline const std::string & Type()
	{
		return m_type;
	}
	inline size_t Offset()
	{
		return m_offset;
	}
private:
	std::string		m_name;
	std::string		m_type;
	size_t			m_offset;
};

}
